package com.woniu.order.client.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年04月02日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_gym_base")
public class TGymBase implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "gym_num", type = IdType.AUTO)
    private String gymNum;

    @TableField("gym_photo")
    private String gymPhoto;

    @TableField("gym_name")
    private String gymName;

    @TableField("gym_license")
    private String gymLicense;

    @TableField("gym_permit")
    private String gymPermit;

    @TableField("gym_details")
    private String gymDetails;

    @TableField("gym_mark")
    private Double gymMark;

    /**
     * 0歇业 1营业
     */
    @TableField("business_state")
    private Integer businessState;

    /**
     * 0冻结 1正常
     */
    @TableField("gym_state")
    private Integer gymState;

    /**
     * 0 未支付 1已支付
     */
    @TableField("in_money")
    private Integer inMoney;

    /**
     * 成立时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;
    /**
     * 场馆账号id
     */
    @TableField("gym_id")
    private Integer gymId;
    /**
     * 评价总人数
     */
    @TableField("mark_num")
    private Integer markNum;

}
